import Mock from 'mockjs';
const data = Mock.mock({
  "list|102": [{
    id: "@id",
    name: "@cname"
  }]
})

Mock.mock('/api/list', 'get', data)